﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class Msgfrom
    {
        /// <summary>
        /// 
        /// </summary>
        public string domain { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string node { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string resource { get; set; }
    }

    public class Msgto
    {
        /// <summary>
        /// 
        /// </summary>
        public string domain { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string node { get; set; }
    }

    public class OpenFireMsgDto
    {
        /// <summary>
        /// 
        /// </summary>
        public long ct { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string msgbody { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Msgfrom msgfrom { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Msgto msgto { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string uid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string username { get; set; }
        public string msgfrompic { get; set; }
    }
}
